import request from '@/utils/request'

// 获取K8s服务列表
export function getK8sList(params) {
  return request({
    url: '/ebpf/proxy/apmServer-sl/system-resource/getServiceInfoList',
    method: 'get',
    params
  })
}

// 获取K8s服务详情
export function getK8sDetail(params) {
  return request({
    url: '/ebpf/proxy/apmServer-sl/hierarchical-topology/details/service',
    method: 'get',
    params
  })
}

//获取POD列表
export function getPodList(params) {
  return request({
    url: '/ebpf/proxy/apmServer-sl/system-resource/pod/list',
    method: 'get',
    params
  })
}

//获取POD详情
export function getPodDetail(params) {
  return request({
    url: '/ebpf/proxy/apmServer-sl/hierarchical-topology/details/pod',
    method: 'get',
    params
  })
}

//
